Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Managing Bounding Boxes


Q3BoundingBox_Set

You can use the Q3BoundingBox_Set function to set the defining points of a bounding box.

TQ3BoundingBox *Q3BoundingBox_Set (
TQ3BoundingBox *bBox, 
const TQ3Point3D *min, 
const TQ3Point3D *max, 
TQ3Boolean isEmpty);
bBox
A pointer to a bounding box.
min
A pointer to a three-dimensional point.
max
A pointer to a three-dimensional point.
isEmpty
A Boolean value that indicates whether the specified bounding box is empty (kQ3True) or not (kQ3False).
DESCRIPTION
The Q3BoundingBox_Set function assigns the values min and max to the min and max fields of the bounding box specified by the bBox parameter. Q3BoundingBox_Set also assigns the value of the isEmpty parameter to the isEmpty field of the bounding box.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996